'use strict';
Object.defineProperties(exports, {
  __esModule: { value: !0 },
  [Symbol.toStringTag]: { value: 'Module' },
});
const o = require('lodash/isArray'),
  l = require('lodash/isPlainObject'),
  c = require('lodash/isString');
function a(...i) {
  const r = i.length;
  let t = [];
  for (let n = 0; n < r; n++) {
    const e = i[n];
    e &&
      (c(e)
        ? t.push(e)
        : o(e)
          ? (t = t.concat(e))
          : l(e)
            ? (t = t.concat(Object.keys(e).filter(s => e[s])))
            : console.error('arguments must be one of string/array/object.'));
  }
  return [...new Set(t)]
    .flat(1 / 0)
    .filter(Boolean)
    .join(' ');
}
exports.default = a;
